package mobi.hami.huapin.service.impl;

import mobi.hami.huapin.dao.UserVisitLogMapper;
import mobi.hami.huapin.model.UserVisitLog;
import mobi.hami.huapin.service.UserVisitLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by 小峰 on 2018/9/13.
 * 用户访问记录表
 */
@Service
public class UserVisitLogServiceImpl implements UserVisitLogService {

    @Autowired
    private UserVisitLogMapper userVisitLogMapper;

    /**
     * 添加查看贴条的记录
     * @param userVisitLog
     * @return
     */
    public Integer InsertModel(UserVisitLog userVisitLog)
    {
        return userVisitLogMapper.insertSelective(userVisitLog);
    }
}
